SRCS:=main.c md5.c recvn.c Register.c threadFunc.c taskQueue.c cleanMutex.c threadPoolInit.c handler.c tcpInit.c epoll.c transFile.c recvOrder.c recvFile.c mysqlConnect.c tokenConf.c makeWorker.c checkUser.c
OBJS:=$(SRCS:%.c=%.o)
server:$(OBJS)
	gcc $^ -o $@ -lpthread -lmysqlclient # 链接
	rm *.o
%.o:%.c
	gcc -c $^ -o $@ -g # 编译
clean:
	$(RM) $(OBJS) server
rebuild:clean server
